

<html>
<head><title>Testing count function in multi-level nested lists</title></head>
<body>





  <div style="position: relative; background-color: silver; " >
  countLanguage: 1<br>
  maxCountLanguage: 5<br>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 1<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 1<br>
    nestedMaxCountPerson #2: 2<br>
    <br/>
    </div>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 2<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 2<br>
    nestedMaxCountPerson #2: 2<br>
    
    </div>
  
  <span style="position: relative; left: 40px">
    lastCountPerson: 2<br>
    lastCountById('indivList'): 2<br/>
  </span>
  countLanguage2: 1<br>
  maxCountLanguage2: 5<br>
  lastCountPerson2: 2<br>
  <br/>
  </div>

  <div style="position: relative; background-color: silver; " >
  countLanguage: 2<br>
  maxCountLanguage: 5<br>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 1<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 1<br>
    nestedMaxCountPerson #2: 2<br>
    <br/>
    </div>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 2<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 2<br>
    nestedMaxCountPerson #2: 2<br>
    
    </div>
  
  <span style="position: relative; left: 40px">
    lastCountPerson: 2<br>
    lastCountById('indivList'): 2<br/>
  </span>
  countLanguage2: 2<br>
  maxCountLanguage2: 5<br>
  lastCountPerson2: 2<br>
  <br/>
  </div>

  <div style="position: relative; background-color: silver; " >
  countLanguage: 3<br>
  maxCountLanguage: 5<br>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 1<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 1<br>
    nestedMaxCountPerson #2: 2<br>
    <br/>
    </div>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 2<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 2<br>
    nestedMaxCountPerson #2: 2<br>
    
    </div>
  
  <span style="position: relative; left: 40px">
    lastCountPerson: 2<br>
    lastCountById('indivList'): 2<br/>
  </span>
  countLanguage2: 3<br>
  maxCountLanguage2: 5<br>
  lastCountPerson2: 2<br>
  <br/>
  </div>

  <div style="position: relative; background-color: silver; " >
  countLanguage: 4<br>
  maxCountLanguage: 5<br>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 1<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 1<br>
    nestedMaxCountPerson #2: 2<br>
    <br/>
    </div>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 2<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 2<br>
    nestedMaxCountPerson #2: 2<br>
    
    </div>
  
  <span style="position: relative; left: 40px">
    lastCountPerson: 2<br>
    lastCountById('indivList'): 2<br/>
  </span>
  countLanguage2: 4<br>
  maxCountLanguage2: 5<br>
  lastCountPerson2: 2<br>
  <br/>
  </div>

  <div style="position: relative; background-color: silver; " >
  countLanguage: 5<br>
  maxCountLanguage: 5<br>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 1<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 1<br>
    nestedMaxCountPerson #2: 2<br>
    <br/>
    </div>
  
    <div style="left: 40px; position: relative; background-color: olive" >
    nestedCountPerson: 2<br>
    nestedMaxCountPerson: 2<br>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 1<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 1<br>
      nested^2MaxCountIndividual #2: 2<br>
      <br/>
      </div>
    
      <div style="left: 40px; position: relative; background-color: cyan" >
      nested^2CountIndividual: 2<br>
      nested^2MaxCountIndividual: 2<br>
      
        
        <div style="left: 40px; position: relative; background-color: lime" >
        nested^3CountPersonAddress: 1<br>
        nested^3MaxCountPersonAddress: 1<br>        
        
        </div>
      
      <span style="position: relative; left: 40px">lastCountPersonAddress: 1<br></span>
      nested^2CountIndividual #2: 2<br>
      nested^2MaxCountIndividual #2: 2<br>
      
      </div>
    
    <span style="position: relative; left: 40px">
      lastCountIndividual: 2<br>
      lastCountById('addressList'): 1<br/>
    </span>
    nestedCountPerson #2: 2<br>
    nestedMaxCountPerson #2: 2<br>
    
    </div>
  
  <span style="position: relative; left: 40px">
    lastCountPerson: 2<br>
    lastCountById('indivList'): 2<br/>
  </span>
  countLanguage2: 5<br>
  maxCountLanguage2: 5<br>
  lastCountPerson2: 2<br>
  
  </div>

lastCountLanguage: 5<br>
</body>
</html>